package com.ansion.utils.bus

import android.content.IntentFilter

class EventBusIntentFilter(action: String?) : IntentFilter(action) {

    private var mThreadMode = EventBusThreadMode.COROUTINE

    fun getThreadMode(): EventBusThreadMode {
        return mThreadMode
    }

    fun setThreadMode(mode: EventBusThreadMode): EventBusIntentFilter {
        mThreadMode = mode
        return this
    }
}
